package com.woniu.auth.service;

import com.woniu.auth.dto.RoleDTO;
import com.woniu.auth.entity.SysRole;

import java.util.List;

/**
 * @Description: TODO
 * @Author: WangHeng
 * @Date: 2022/12/9 15:39
 */
public interface SysRoleService {
    List<Integer> getRolesByUser(Integer uid);

    List<SysRole> getAllRoles();

    int updateRoles(RoleDTO roleDTO);

    List<Integer> getPermissionByRole(Integer rid);
}
